﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chat.Server
{
    /// <summary>
    /// Sent by the chat server to newly successfully logged in client, notifying
    /// him about the users, that had been already logged in before this new client.
    /// </summary>
    [Serializable]
    public class UsersOnlineCmd : ServerCmd
    {
        /// <summary>
        /// The csv list of already logged in users.
        /// </summary>
        public string OnlineUsersCsv { get; protected set; }

        public UsersOnlineCmd(string onlineUsersCsv)
        {
            OnlineUsersCsv = onlineUsersCsv;
        }
    }
}
